 A = rand(5) * 10;
 A(4:5, :) = []
 A =1.9343    6.9790    4.9655    6.6023    7.2711
    6.8222    3.7837    8.9977    3.4197    3.0929
    3.0276    8.6001    8.2163    2.8973    8.3850  
if ndims(A) ~= 2
   return
end
[rows cols] = size(A);
for m = 1:rows
   for n = 1:cols
      x = A(m, n);
      if x >= 5 && x <= 7
         disp(sprintf('A(%d, %d) = %5.2f', m, n, A(m,n)))
      end
   end
end   